home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / bbs / l2100.zip / GSHOPS.REF < prev    next >
Text File  |  1997-06-25  |  11KB  |  630 lines

  1. ;gshops.ref ... mostly stuff for Greentree
  2.  
  3. @#bartoy
  4. ;barak's tiolet, need to say something I guess..
  5. @do saybar
  6. Not the cleanest thing in town.
  7. @do moveback
  8.  
  9. @#house6
  10. ;nobody home
  11. @do moveback
  12. @do saybar
  13. Hmm, no answer.
  14.  
  15. @#BARCHEST
  16. @do moveback
  17.  
  18. @if bitcheck `t19 0 1 then do
  19.   @begin
  20.   @do saybar
  21. The chest is empty.
  22.   @closescript
  23.   @end
  24.  
  25. @do `p20 random 4 1
  26. @if `p20 is 1 then do
  27.   @begin
  28.   @bitset `t19 0 1
  29.   @do `i74 is 1
  30.   @show
  31. `r0`c  `r1  `%You find something in the chest!  `r0
  32.  
  33.   `2You find `0Barak's Diary`2.  `%AWESOME!`2
  34.  
  35. `k
  36.   @drawmap
  37.   @update
  38.   @closescript
  39.   @end
  40.  
  41. @do goto ma
  42.  
  43. @#ma
  44. @do moveback
  45. @do `s01 is ass
  46. @if `v06 is 1 then `s01 is self
  47. @do x is 52
  48. @do y is 18
  49. @do map is 69
  50. @loadmap &map
  51. @show
  52. `r0`c  `r1  `%Barak's Mother  `r0
  53.  
  54. `2  An old woman is rocking in her chair.. until she sees you.
  55.  
  56. `k  `0"How did you get in here?!?!  Do you know who my son is?!?  He will
  57.   hunt you down and rip you apart!!"
  58.  
  59. `k  `2She promptly kicks your sorry `s01 out.
  60.  
  61. `k
  62. @drawmap
  63. @update
  64.  
  65. @#picklock
  66. @do moveback
  67.  
  68. @datanewday barmom.idf
  69. @dataload barmom.idf &playernum `p20
  70. @if `p20 is 1 then do
  71.   @begin
  72.   @do saybar
  73. You better not try again today.. she's watching you through a window.
  74.   @closescript
  75.   @end
  76. @do write
  77. `r1
  78. @clearblock 21 21
  79. @do move 3 21
  80. @do write
  81. `r0`2The door is locked.  Attempt to pick it? [`0Y`2/`0N`2] :`x
  82. @do readspecial `s01 YN
  83. @if `s01 is Y then do
  84.  @begin
  85. @if `p18 < 15 then do
  86.   @begin
  87.  
  88.   @do saybar
  89. `2You lack the skills.  You need more quest points.
  90.   @closescript
  91.   @end
  92.   ;he did it
  93.   @do x is 40
  94.   @do y is 13
  95.   @do map is 75
  96.   @loadmap &map
  97.   @drawmap
  98.   @update
  99.   @do saybar
  100. `2You pick the lock successfully!
  101.   @datasave barmom.idf &playernum 1
  102.   @closescript
  103. @end
  104. @do saybar
  105. Maybe later.
  106.  
  107.  
  108. @#MIN
  109. ;minister at church, place to cure vd
  110. @do moveback
  111. @do `v01 is 1
  112. @show
  113. `r0`c  `r1 `%Saying your prayers `r0
  114.  
  115.   `2You kneel in front of the pulpit.   A balding priest looks at you
  116.   intently.
  117.  
  118. @do write
  119. `x`x
  120. @choice
  121. I wish to make a donation
  122. I wish to donate my negative opinion of organized religion
  123. Leave
  124. @if responce is 1 then do
  125.   @begin
  126.   @show
  127. `\`\  `0"How much, my son?" `2the priests asks, eyes lighting up at the
  128.   prospect.
  129.   @do write
  130. `\`x`x
  131.   @do readnum 10 0
  132.   @if `v40 is 0 then do
  133.    @begin
  134.    @show
  135. `\`\  `$"I'll donate let's see... how about nothing?"
  136.  
  137. `k
  138.   @do goto min
  139.   @end
  140.  
  141.   @if `v40 < 0 then do
  142.    @begin
  143.    @show
  144. `\`\  `2Donate a negative amount?  Oh, you mean steal from the plate?
  145.  
  146. `k  `4Too bad there is nothing in it.
  147.  
  148. `k
  149.   @do goto min
  150.   @end
  151.  
  152.  
  153.   @if `v40 > money then do
  154.    @begin
  155.    @show
  156. `\`\  `2Ok, now try an amount that you have with you.
  157.  
  158. `k
  159.   @do goto min
  160.   @end
  161.  
  162.   @do money - `v40
  163.   @do `p20 is `p09
  164.   @do `p20 * 100
  165.   @if `v40 < `p20 then do
  166.     @begin
  167.     @show
  168. `\`\  `2You close your eyes, hoping for a miracle...
  169.  
  170. `k  `4Nothing happens.. course you didn't donate much either.
  171. `\`k
  172.  
  173.     @do goto min
  174.     @end
  175.  
  176.     @if `p12 is 0 then do
  177.       @begin
  178.     @show
  179. `\`\  `2You close your eyes, hoping for a miracle...
  180.  
  181. `k  `4Nothing happens.. and you donated plenty.  I guess you just don't need
  182.   divine help right now, maybe later. 
  183. `\`k
  184.   @do goto min
  185.   @end
  186.  
  187.    @do `p12 is 0
  188.    ;cure vd
  189.     @show
  190. `\`\  `2You close your eyes, hoping for a miracle...
  191.  
  192. `k  `%YOU FEEL CLEAN AGAIN.  Your body is not sick anymore.
  193. `\`k
  194.   @do goto min
  195.   @end
  196.  
  197.  
  198.       @end
  199. @if responce is 2 then do
  200.   @begin
  201.   @show
  202. `\`\  `$"What you do is ridiculous.  You tell us we'll go to a better place
  203.   after we die if we give you money.  Who bought this church, God?  No, we
  204.   did.
  205.  
  206.   Religion is for people that need something to believe in - so they don't go
  207.   mad." `2you finish softly.
  208.  
  209. `k  `0"Exactly.. so are you gonna donate or what?" `2laughs the priest.
  210.  
  211. `k
  212.   @do goto min
  213.   @end
  214.  
  215. @drawmap
  216. @update
  217.  
  218. @#WHORE
  219. ;(currently unused)
  220. @offmap
  221. @do moveback
  222. @do `v01 is 1
  223. @label whorestart
  224. @show
  225. `r0`c  `r1 `%The Whore House `r0
  226.  
  227. `2  You run your hands together, it's time you finally had some fun.  And
  228.   hey, while you're in Greentree, why not pay a visit to the infamous
  229.   Greentree brothel.
  230. @do write
  231. `\`x`x
  232. @choice
  233. Visit Kelley.
  234. Leave
  235. @if responce is 1 then do
  236.   @begin
  237.   @show
  238. `\`\  `2You rub your hands together lewdly.  `$"I want a little 'visit' with
  239.   Kelley if you know what I mean..." `2you drawl.
  240.  
  241.   `0"Kelley is busy.. How about Mary?"
  242.  
  243.   `2You decide to wait. (this area will be added to later..)
  244. `\`k
  245.   @end
  246.  
  247. @drawmap
  248. @update
  249.  
  250. @#SCRIBE
  251. ;a place where they can add to the daily happenings
  252. @offmap
  253. @do moveback
  254. @do `v01 is 1
  255. @label scribestart
  256. @show
  257. `r0`c  `r1 `%The Scribe Hut `r0
  258.  
  259. `2  Wow!  This is where the daily happenings are made!  More than just a
  260.   paper, it brings the community together.
  261.  
  262.   `2A little man with glasses is working.
  263.  
  264. @do write
  265. `x`x
  266. @choice
  267. `%Place an ad for `$$10`%.
  268. Leave
  269. @
  270. @if response is 1 then do
  271.  @begin
  272.  @if money < 10 then do
  273.   @begin
  274.   @show
  275. `\`\  `2You are a little short.  Bummer.`\`\`k
  276.   @do goto scribestart
  277.   @end
  278.   @do money - 10
  279.   @writefile lognow.txt
  280.   `2A special announcement from `0`n`2:`\`%
  281.   @show
  282. `\`\  `0"Ok sir!  Enter your message.  A blank line will quit."
  283. @label keepwriting
  284. @do write
  285. `\`x`x
  286.   @do readstring 75 NIL `s01 
  287.   @do `p20 is length `s01
  288.   @if `p20 < 2 then do
  289.    @begin
  290. @writefile lognow.txt
  291.                                  `2-`0=`2-`%=`2-`0=`2-
  292.    @show
  293. `\  `0"Alright!  We have added you to today's edition!"
  294.  
  295. `2  You trot out feeling important.
  296. `\`k
  297. @drawmap
  298. @update
  299. @closescript
  300.    @end
  301.   @do stripbad `s01
  302.   @writefile lognow.txt
  303.   `s01
  304.   @
  305.   @do goto keepwriting
  306.  
  307.  @end
  308.  
  309. @drawmap
  310. @update
  311.  
  312. @#raise
  313. ;can they raise their level?
  314.  
  315. @do `p20 is `p09
  316. @do `p20 * 100
  317. @do `p20 * `p09
  318.  
  319. @if `p20 > `p01 then do
  320.  @begin
  321.  @do `p21 is `p20
  322.  @do `p21 - `p01
  323.  @show
  324.  
  325.  
  326.   `2Next level raise at `%`p20`2.
  327.  
  328.   `0"You need about `%`p21`0 more experience before your next level raise!"
  329.  
  330.   `2Your face falls - what a bummer!
  331.  
  332. `k
  333. @run barak
  334. @closescript
  335. @end
  336.  
  337.  @if `t04 > 0 then do
  338.  @begin
  339.  @show
  340.  
  341.  
  342.   `0"You already failed once today, come back tomorrow, loser!"
  343.  
  344.   `2Your face falls - what a bummer!
  345.  
  346. `k
  347. @run barak
  348. @closescript
  349. @end
  350.  
  351.  
  352.  @show
  353.  
  354.  
  355.   `0"You have been sitting at level `p09 long enough."
  356.  
  357. @if `p09 IS 1 then do
  358.  @begin
  359.  @show
  360.   `$"Cool!  So where is the master I fight?" `2you beam with pride.
  361.  
  362. `k  `0"Master?  Haw!  Now that *I* run this place we do it my way!" `2Barak
  363.   laughs as he crumbles a strange black root into a mortar...
  364.  
  365.   `2You anxiously await your fate...
  366.  
  367. @end
  368. @show
  369. `k
  370. `c  `r1`4 DRINKING YOUR OWN INIQUITY `r0
  371.  
  372. `2  Barak hands you a cup and asks you to drink.
  373.  
  374.   `2You nearly retch as you feel the vessel's oily contents slide down
  375.   your throat.
  376.  
  377. `k  `2Barak leads you to a small room with a cot.  `2"I'll be back in a few
  378.   hours,  then we'll see if you're still this cocky!" 
  379.  
  380. `2  You lay down and begin dreaming immediately.
  381.  
  382. `k
  383. @run startfight in training.ref
  384. @closescript
  385.  
  386.  
  387.  
  388. @#BARAK
  389. @offmap
  390. @if bitcheck `t19 1 1 then goto turg
  391. @do moveback
  392. @do `v01 is 1
  393. @label barstart
  394. @show
  395. `r0`c  `%Barak's Training Center
  396.  
  397. `2  Hundreds of warriors are randomly jumping and shrieking in their
  398.   efforts to better themselves.
  399.  
  400.   Although the building itself is old and scarred, the sign is new.
  401.  
  402. @do write
  403. `x`x
  404. @choice
  405. Ask for a level raise.
  406. Talk to Master Barak.
  407. Leave
  408. @if responce is 1 then do
  409.  @begin
  410.  @run raise
  411.  @do goto barstart
  412.  @end
  413.  
  414.  
  415. @if responce is 2 then do
  416.  @begin
  417.  @if `t01 is 4 then do
  418.   @begin
  419.   @show
  420. `r0`c  `%Talking to Master Barak
  421.  
  422.   `0"Make it fast kid, I'm busy!"
  423.  
  424.   `$"Um, Barak?  Where are the other trainers, as is the tradition?" `2you
  425.   innocently ask.
  426.   
  427. `k  `0"Other trainers?!  Now that *I'M* the new MASTER TRAINER, I fired the
  428.   rest!  I am the master for EVERY LEVEL NOW!" `2Barak cackles evilly.
  429.  
  430.   `$"Wow, nice.  You must have worked long and hard to achieve this position,
  431.   Master Barak."
  432.  
  433. `k  `0"Of course I did!  That last Master, this geezer known as Turgon turned
  434.   out to be a thief - you never know about some people, eh?  Haw!" `2 Barak
  435.   laughs crudely.
  436.  
  437. `k
  438.  @do `t01 is 5
  439.  @do goto barstart
  440.  @end
  441.  
  442.   @show
  443. `r0`c  `%Talking to Master Barak
  444.  
  445.   `0"Sorry kid, I'm a little busy TEACHING, because after all, I am sort of
  446.   the MASTER of this whole place - you can grasp that concept, can't you?"
  447.  
  448.   `2Wow, what an ass.  Maybe he'll talk later.
  449.  
  450. `k
  451.  @do goto barstart
  452.  @end
  453.  
  454. @drawmap
  455. @update
  456.  
  457. @#turgraise
  458. ;can they raise their level?
  459.  
  460. @do `p20 is `p09
  461. @do `p20 * 100
  462. @do `p20 * `p09
  463.  
  464. @if `p20 > `p01 then do
  465.  @begin
  466.  @do `p21 is `p20
  467.  @do `p21 - `p01
  468.  @show
  469.  
  470.  
  471.   `2Next level raise at `%`p20`2.
  472.  
  473.   `0"You need about `%`p21`0 more experience before your next level raise!"
  474.  
  475.   `2Your face falls - what a bummer!
  476.  
  477. `k
  478. @run turgstart
  479. @closescript
  480. @end
  481.  
  482.  @if `t04 > 0 then do
  483.  @begin
  484.  @show
  485.  
  486.  
  487.   `0"You already failed once today, `n.  I cannot let you try again
  488.   tomorrow," `2Turgon tells you.
  489.  
  490.   `2Your face falls - what a bummer!
  491.  
  492. `k
  493. @run turg
  494. @closescript
  495. @end
  496.  
  497.  
  498.  @show
  499.  
  500.  
  501.   `0"You have been sitting at level `p09 long enough."
  502.  
  503. @show
  504. `k
  505. `c  `r1`4 DRINKING YOUR OWN INIQUITY `r0
  506.  
  507. `2  Turgon hands you a small black cup.
  508.  
  509.   `2It doesn't taste bad actually...
  510.  
  511. `2  You lay down and begin dreaming immediately.
  512.  
  513. `k
  514. @run startfight in training.ref
  515. @closescript
  516.  
  517.  
  518. @#TURG
  519. @offmap
  520. @do moveback
  521. @do `v01 is 1
  522. @label turgstart
  523. @show
  524. `r0`c  `%Turgon's Training Center
  525.  
  526. `2  Hundreds of warriors are randomly jumping and shrieking in their
  527.   efforts to better themselves.
  528.  
  529.   Turgon waves to you warmly as you come in.
  530.  
  531. @do write
  532. `x`x
  533. @choice
  534. Ask for a level raise.
  535. Talk to Master Turgon.
  536. Leave
  537. @if responce is 1 then do
  538.  @begin
  539.  @run turgraise
  540.  @do goto turgstart
  541.  @end
  542.  
  543.  
  544. @if responce is 2 then do
  545.  @begin
  546.   @show
  547. `r0`c  `%Talking to Master Turgon
  548.  
  549.   `0"How are you, `n`0?"
  550.  
  551.   `$"Doing pretty good.  Are you back to the master-per-level system?" `2you
  552.   ask.
  553.   
  554. `k  `0"Nah..  the other trainers have left.  I think we're gonna stick to
  555.   the nightmare drink thing." `2he smiles.
  556.  
  557.   `$"Hmm... I'm not real excited about that part, but ok."
  558.  
  559. `k
  560.  @do goto turgstart
  561.  @end
  562.  
  563. @drawmap
  564. @update
  565.  
  566.  
  567.  
  568. @#ABDUL
  569. @offmap
  570. @do moveback
  571. @do `v01 is 1
  572. @label abstart
  573. @show
  574. `r0`c  `%Abdul's Armour
  575.  
  576. `2  You see chainmail, leather, studded vests and other crap everywhere.
  577.  
  578. @do write
  579. `x`x
  580. @choice
  581. Examine her wares
  582. Go outside.
  583. @show
  584. `\
  585. @if responce is 1 then do begin
  586.  @begin
  587. @buymanager
  588.   10
  589.   12
  590.   13
  591.   14
  592.   @end
  593.  
  594. @if responce not 2 then goto abstart
  595. @drawmap
  596. @update
  597.  
  598. @#ARTHUR
  599. @offmap
  600. @do moveback
  601. @do `v01 is 1
  602. @label arstart
  603. @show
  604. `r0`c  `%King Arthur's Weapons
  605.  
  606. `2  Items of destruction are hung all around you - you feel like a kid in
  607.   a candy store.
  608.  
  609. @do write
  610. `x`x
  611. @choice
  612. Examine his weaponry
  613. Go outside.
  614. @show
  615. `\
  616. @if responce is 1 then do begin
  617.  @begin
  618. @buymanager
  619.   4
  620.   9
  621.   15
  622.   16
  623.   @end
  624.  
  625. @if responce not 2 then goto arstart
  626. @drawmap
  627. @update
  628.  
  629.  
  630.